import Layout from '@/layout'

export default {
    path: '/employees',
    name: 'employees',
    component: Layout,
    children: [
        {
            path: '',
            component: () => import('@/views/employees'),
            meta: {
                title: '员工',
                icon: 'people'
            }
        },
        {
            path: 'detail/:id', //动态路由参数
            component: () => import('@/views/employees/detail'),
            hidden: true, //不在左侧菜单显示
            meta: {
                title: "员工详情"
            }
        },
        {
            path: 'print/:id', //动态路由参数
            component: () => import('@/views/employees/print'),
            hidden: true, //不在左侧菜单显示
            meta: {
              title:"员工打印",
              icon:'people'
            }
          }
    ]
}